{% extends "base.html" %}

{% block content %}
  <h2>撰写回顾</h2>
<div class="page" style="display:block;">
  <form action="{{full_path}}?navTabId=review_list_page" method="post" class="pageForm required-validate" onsubmit="return validateCallback(this,navTabAjaxDone);">
  <div class="pageContent">
      {% csrf_token %}
      {{ form.as_p }}
  </div>
  <div class="formBar">
        <ul>
          {% if '/review/compose/' in full_path %}
          <li><div class="buttonActive"><div class="buttonContent"><button type="submit" name="ok" value="保存">保存</button></div></div></li>
          {% endif %}
          {% if '/review/commit/' in full_path %}
          <li><div class="buttonActive"><div class="buttonContent"><button type="submit" name="commit" value="提交">提交</button></div></div></li>
          {%endif%}
          <li><div class="button"><div class="buttonContent"><button class="close" type="button">关闭</button></div></div></li>
        </ul>
    </div>
  </form>
</div>
{% endblock %}